package com.example.yijian.utils;

import android.Manifest;

import java.util.ArrayList;
import java.util.List;

public class CommonUtils {

    /*
     * 获取所有权限列表(相机权限，麦克风权限，存储权限)
     * Get a list of all permissions (camera permissions, microphone permissions, storage permissions)
     * */
    public static List<String> getAllPermissionsList() {
        ArrayList<String> newList = new ArrayList<>();
        newList.add(Manifest.permission.CAMERA);
        newList.add(Manifest.permission.RECORD_AUDIO);
        newList.add(Manifest.permission.READ_EXTERNAL_STORAGE);
        newList.add(Manifest.permission.WRITE_EXTERNAL_STORAGE);
        return newList;
    }
}
